cmake_minimum_required(VERSION 3.10.0)
project(clessons VERSION 0.1.0 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)



set(
    SRC_FILES 
    src/main.cpp 
    src/ref_study.cpp 
    src/class_study.cpp 
    src/friend_study.cpp 
    src/excpt_study.cpp 
    src/add_sum1.cpp 
    src/list_node_add.cpp
    src/string_study.cpp
    )

add_executable(clessons ${SRC_FILES})
target_include_directories(clessons PRIVATE includes)

include(CTest)
enable_testing()

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
